package com.aacar.utils;


/**
 * @author fei.tang
 */
public class ResultSuccessInfo {
	/***
	 * 返回标识
	 */
	private String errorCode = "0";
	/***
	 * 返回对象
	 */
	private Object result; 
	
	private String serviceCode;//接口码
	
	public ResultSuccessInfo() {
		 
	}
	
	public ResultSuccessInfo(String code) {
		super();
		this.errorCode = code;
	}

	 
	public ResultSuccessInfo(Object result) {
		super();
		this.result = result;
		 
		 
	}

	 

	public ResultSuccessInfo(String errorCode, Object result) {
		super();
		this.errorCode = errorCode;
		this.result = result;
		 
		
	}

	public String getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

	public Object getResult() {
		 
		return result;
	}
	
	

	public void setResult(Object result) {
        this.result = result;
	}

	public String getServiceCode() {
		return serviceCode;
	}

	public void setServiceCode(String serviceCode) {
		this.serviceCode = serviceCode;
	}

}
